package com.ruoyi.bl.service.impl;

import com.ruoyi.bl.domain.BlAppParams;
import com.ruoyi.bl.mapper.BlReportMapper;
import com.ruoyi.bl.service.IBlReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.LinkedHashMap;
import java.util.List;


@Service
public class BlReportServiceImpl implements IBlReportService
{
    @Autowired
    private BlReportMapper blReportMapper;


    @Override
    public LinkedHashMap findMerchanTotalTheDay(BlAppParams blAppParams) {
        return blReportMapper.findMerchanTotalTheDay(blAppParams);
    }

    @Override
    public List<LinkedHashMap> findMerchanTotalTheDayDetail(BlAppParams blAppParams) {
        return blReportMapper.findMerchanTotalTheDayDetail(blAppParams);
    }

    @Override
    public LinkedHashMap findSupplierTotalTheDay(BlAppParams blAppParams) {
        return blReportMapper.findSupplierTotalTheDay(blAppParams);
    }

    @Override
    public List<LinkedHashMap> finSupplierTotalTheDayDetail(BlAppParams blAppParams) {
        return blReportMapper.finSupplierTotalTheDayDetail(blAppParams);
    }
}
